package start.spring.basic.demo.vo.demo;

import javax.validation.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("参数校验样例请求对象")
public class DemoValidVO {

	@ApiModelProperty("用户名")
	@NotEmpty(message = "用户名不能为空")
    private String userName;

	@ApiModelProperty("密码")
	@NotEmpty(message = "密码不能为空")
    private String userPass;
	
}
